#include "stm32f10x.h"                  // Device header
#include "encoder.h"
#include "oled.h"
#include "Delay.h"
int main(void)
{
	int16_t num=0;
	EXTI_Encoder_Init();
    OLED_Init();

	while(1)
	{
		num+= EXTI_GetCount();
		OLED_ShowSignedNum(3,5,num,5);
	}
}
